From 3880d16aa8db5beb3f4e5f6c429f839a4a777480 Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Wed, 15 Dec 2004 09:55:56 +0000 Subject: [PATCH] bitkeeper revision 1.1159.187.68 (41c00a2crw4RVTLhiAnW6LXLh0aDMw) Fix 3DNOW on Linux 2.4. --- linux-2.4.28-xen-sparse/arch/xen/mm/init.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux-2.4.28-xen-sparse/arch/xen/mm/init.c b/linux-2.4.28-xen-sparse/arch/xen/mm/init.c index dd622aebda..980983fd03 100644 --- a/linux-2.4.28-xen-sparse/arch/xen/mm/init.c +++ b/linux-2.4.28-xen-sparse/arch/xen/mm/init.c @@ -36,6 +36,10 @@ #include #include +/* XEN: We *cannot* use mmx_clear_page() this early. Force dumb memset(). */ +#undef clear_page +#define clear_page(page) memset((void *)(page), 0, PAGE_SIZE) + mmu_gather_t mmu_gathers[NR_CPUS]; unsigned long highstart_pfn, highend_pfn; static unsigned long totalram_pages; -- 2.30.2